package cn.tom.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

@Data
public class Teacher {
    private Integer id;                             //老师的id
    private String name;                            //老师的名称
    private String content;                         //老师的内容
    private String picture;                         //老师的图片
    private String intro;                           //老师的简介
    @TableField(exist = false)
    private List<Largefile> largefile;             //注入Largefile实体
    private String type;                          //老师的类型
}
